package com.fh.db.base;

import com.fh.db.DbColumn;

/**
 * @Author qiujunda
 * @Date 21/07/2020
 * @Description
 */
public abstract class BaseDbColumn implements DbColumn {

    private Integer columnId;

    private String columnName;

    private String nullable;

    private String dataType;

    private Integer dataLength;

    private Integer dataPrecision;

    private String columnComments;

    public Integer getColumnId() {
        return columnId;
    }

    public String getColumnName() {
        return columnName;
    }

    public String getNullable() {
        return nullable;
    }

    public String getDataType() {
        return dataType;
    }

    public Integer getDataLength() {
        return dataLength;
    }

    public Integer getDataPrecision() {
        return dataPrecision;
    }

    public String getColumnComments() {
        return columnComments;
    }

    public void setColumnId(Integer columnId) {
        this.columnId = columnId;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public void setNullable(String nullable) {
        this.nullable = nullable;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public void setDataLength(Integer dateLength) {
        this.dataLength = dateLength;
    }

    public void setDataPrecision(Integer dataPrecision) {
        this.dataPrecision = dataPrecision;
    }

    public void setColumnComments(String columnComments) {
        this.columnComments = columnComments;
    }
}
